home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / os2 / af0_23b.zip / archiver.bb2 < prev    next >
Text File  |  1996-04-16  |  18KB  |  801 lines

  1. 21
  2. ;That first line is how many lines/record in this archiver.bb2 file...
  3. ;very important, do not change.  Allows future modifications to the
  4. ;file to be transparent to older programs.
  5. ;
  6. ;ARCHIVER.BB2, archiver control file for XBBS-OS/2, XGROUP and AV
  7. ;KEEP A COPY OF THIS ORIGINAL FILE FOR INFORMATION LATER!
  8. ;
  9. ;format for this archiver.bb2 file (each entry has 21 lines):
  10. ;
  11. ; 1st line:  ID of archiver (like ARC, LHARC, PKZIP, etc.; human consumption)
  12. ; 2nd line:  normal extension for archives (like ZIP, ARC, LZH; note no period)
  13. ; 3rd line:  offset into file to signature
  14. ; 4th line:  list command
  15. ; 5th line:  extract command
  16. ; 6th line:  extract w/ directories command
  17. ; 7th line:  test archive command
  18. ; 8th line:  add/create command
  19. ; 9th line:  add/create w/ paths command
  20. ;10th line:  add/create & recurse command
  21. ;11th line:  move command
  22. ;12th line:  move w/ paths command
  23. ;13th line:  delete command
  24. ;14th line:  signature (case sensitive, leading spaces count!
  25. ;15th line:  startlist string
  26. ;16th line:  endlist string
  27. ;17th line:  old size position  (all positions 0-based, -1 = not available)
  28. ;18th line:  new size position
  29. ;19th line:  file date position
  30. ;20th line:  number of positions in dates (for "03 June 92" would be 3)
  31. ;21st line:  file name position (absolutely required, of course; -1 = last pos)
  32. ;
  33. ;a semicolon demarks a comment.  they may appear at any point *except*
  34. ;within the 21 lines of an archiver entry.  comments are ignored by AV.
  35. ;
  36. ;note that all archiver strings should include the archiver's parameter to
  37. ;prevent it from stopping for input!  also note that archive types are checked
  38. ;in order of their listing in this file.  finally, this file is set up for
  39. ;the archivers I had lying around; if yours are different versions, you may
  40. ;have to modify this file.  All archivers are OS/2 (or FAPI) versions.
  41. ;DOS archivers may work with FM/2, but it'll be up to you to set them up.
  42. ;
  43. ;how archive listing works (for the curious):
  44. ;
  45. ;AV first tries to find a signature match.  failing that, it checks
  46. ;to see if the file might be an ARC-format file.  If the latter, READARC.CMD
  47. ;is spawned (by XBBS) with ARC as the first argument and v as the second,
  48. ;followed by the filename (AV spawns ARC directly).  If the former, the list 
  49. ;command is sent, followed by the filename.  AV (and XBBS) then parses the
  50. ;resultant file using the start and end list lines and offsets in file lines
  51. ;listed in this file for the given archiver.
  52. ;
  53. ;Warning:  I'm told there's a bug in some versions of 4OS2 that can cause
  54. ;a call to an archiver to fail if the archiver has an extension (i.e.
  55. ;UNZIP works, UNZIP.EXE doesn't).  If things fail for no apparent reason
  56. ;and you're using 4OS2 you might keep it in mind.
  57. ;
  58. ;Sample C code to access this information is in sample.c in the AV
  59. ;distribution archive, and is free for the using in your own projects.
  60. ;
  61. ;-----------------Archiver data begins-----------------------
  62. ;
  63. ;This entry is for Zoo 2.1
  64. ;
  65. ;NOTE:  Bug in Zoo 2.1 seems to cause files stored with paths to
  66. ;be extracted w/ paths even when you don't ask it to do so...
  67. ;
  68. ;
  69. Zoo 2.1
  70. ZOO
  71. 20
  72. ZOO.EXE v
  73. ZOO.EXE xO
  74. ZOO.EXE xO/
  75. ZOO.EXE -test
  76. ZOO.Exe ah:
  77. ZOO.EXE ah
  78.  
  79. ZOO.EXE aM:h
  80. ZOO.EXE aMh
  81. ZOO.EXE -delete
  82. \xdc\xa7\xc4\xfd
  83. --------  --- --------  --------- --------
  84. --------  --- --------  --------- --------
  85. 0
  86. 2
  87. 3
  88. 3
  89. -1
  90. ;
  91. ; This entry is for LHarc 2.22.  Supposedly fixes bugs in earlier versions.
  92. ; Actually seems to have done so.  Good work, Peter.
  93. ;
  94. ;LHarc 2.22
  95. ;LZH
  96. ;2
  97. ;LH.EXE /o l
  98. ;LH.EXE /o x
  99. ;LH.EXE /o /s x
  100. ;LH.EXE t
  101. ;LH.EXE /o a
  102. ;
  103. ;LH.EXE /o /s a
  104. ;LH.EXE /o m
  105. ;
  106. ;LH.EXE /o d
  107. ;-lh
  108. ;  -------- --------  -----------------------------------------
  109. ;  --------          -----------------------------------------
  110. ;0
  111. ;-1
  112. ;1
  113. ;1
  114. ;2
  115. ;
  116. ; Duplicate entry is for LHarc 2.22 using LH32 filename.
  117. ;
  118. LHarc-32 2.22
  119. LZH
  120. 2
  121. LH32.EXE /o /v /i l
  122. LH32.EXE /o x
  123. LH32.EXE /o /s x
  124. LH32.EXE t
  125. LH32.EXE /o /i a
  126.  
  127. LH32.EXE /o /i /s a
  128. LH32.EXE /o m
  129.  
  130. LH32.EXE /o d
  131. -lh
  132.   --------  --------  --- -------  -------- ------ ----- ----  ----------------
  133.   --------  --------  ---                                      ----------------
  134. 0
  135. 1
  136. 3
  137. 1
  138. -1
  139. ;
  140. ; This entry is for LHarc 2.22 self-extractors.
  141. ;
  142. LHarc 2.22 SE
  143. LZH
  144. 22963
  145. LH.EXE /o l
  146. LH.EXE /o x
  147. LH.EXE /o /s x
  148. LH.EXE t
  149. LH.EXE /o a
  150.  
  151. LH.EXE /o /s a
  152. LH.EXE /o m
  153.  
  154. LH.EXE /o d
  155. -lh
  156.   -------- --------  -----------------------------------------
  157.   --------          -----------------------------------------
  158. 0
  159. -1
  160. 1
  161. 1
  162. 2
  163. ;
  164. ; This entry is for LHA 2.12 (DOS) self-extractors since LH 2.22 seems to
  165. ; recognize them.
  166. ;
  167. LHarc 2.12 DOS SE
  168. LZH
  169. 1638
  170. LH.EXE /o l
  171. LH.EXE /o x
  172. LH.EXE /o /s x
  173. LH.EXE t
  174. LH.EXE /o a
  175.  
  176. LH.EXE /o /s a
  177. LH.EXE /o m
  178.  
  179. LH.EXE /o d
  180. -lh
  181.   -------- --------  -----------------------------------------
  182.   --------          -----------------------------------------
  183. 0
  184. -1
  185. 1
  186. 1
  187. 2
  188. ;
  189. ; This entry is for LHA 2.13L (DOS) self-extractors since LH 2.22 seems to
  190. ; recognize them.
  191. ;
  192. LHarc 2.13 DOS SE
  193. LZH
  194. 36
  195. LH.EXE /o l
  196. LH.EXE /o x
  197. LH.EXE /o /s x
  198. LH.EXE t
  199. LH.EXE /o a
  200.  
  201. LH.EXE /o /s a
  202. LH.EXE /o m
  203.  
  204. LH.EXE /o d
  205. LHA's SFX 2.13L (c) Yoshi, 1991\r\n
  206.   -------- --------  -----------------------------------------
  207.   --------          -----------------------------------------
  208. 0
  209. -1
  210. 1
  211. 1
  212. 2
  213. ;
  214. ;
  215. ;This entry is for LH2 2.11.
  216. ;
  217. ;NOTE:  sometimes will put a file into an archive more than once, necessitating 
  218. ;deleting both.  EAs not handled well, but at least they're handled.
  219. ;
  220. ;LHarc 2.11
  221. ;LZH
  222. ;2
  223. ;LH.EXE /o l
  224. ;LH.EXE /o x
  225. ;LH.EXE /o /s x
  226. ;LH.EXE t
  227. ;LH.EXE /o a
  228. ;
  229. ;LH.EXE /o /s a
  230. ;LH.EXE /o m
  231. ;
  232. ;LH.EXE /o d
  233. ;-lh
  234. ;  -------- -------- -----------------------------------------
  235. ;  --------          -----------------------------------------
  236. ;0
  237. ;-1
  238. ;1
  239. ;1
  240. ;2
  241. ;
  242. ;
  243. ;This entry is for ZIP 2.0.1/UNZIP 5.0 (available in 32-bit versions)
  244. ;ZIP/UNZIP should work with PKZIP 2.04 files.  Saves EAs well.  Won't
  245. ;extract a file stored with path without the path (actually, this seems
  246. ;to be fixed now.  Maybe.  There are dozens of versions floating around;
  247. ;you don't pays your money and you takes your chances).  If you have a
  248. ;version that won't extract files with paths without the paths, there's
  249. ;a workaround -- change the line "UNZIP.EXE -jo" below to "UNZIP.EXE -o".
  250. ;Because of broken ZIP archives floating around everywhere, this is here
  251. ;without the version flag in the signature (should really be PK\x3\x4\x14).
  252. ;Damnit, it looks like Katz's own software is what does the botching.  So
  253. ;much for the keeper of the ZIP standard...  Zip still seems to have to
  254. ;have erratic problems with creating archives with some pathnames...
  255. ;
  256. Zip/UnZip 1.9/5.12
  257. ZIP
  258. 0
  259. UNZIP.EXE -vUoCq
  260. UNZIP.EXE -joCq
  261. UNZIP.EXE -oCq
  262. UNZIP.EXE -toCq
  263. ZIP.EXE -j9g
  264. ZIP.EXE -9g
  265. ZIP.EXE -r9g
  266. ZIP.EXE -mj9g
  267. ZIP.EXE -m9g
  268. ZIP.EXE -d
  269. PK\x3\x4
  270.  ------  ------   ----  -----   ----    ----   ------     ----
  271.  ------          ------  ---                              -------
  272. 0
  273. 2
  274. 4
  275. 1
  276. -1
  277. ;
  278. ;
  279. ;Duplicate entry is for ZIP 1.9/UNZIP 5.0 using 32 filenames.
  280. ;
  281. ;Zip/UnZip-32 1.9/5.0
  282. ;ZIP
  283. ;0
  284. ;UNZIP32.EXE -lUo
  285. ;UNZIP32.EXE -jo
  286. ;UNZIP32.EXE -o
  287. ;UNZIP32.EXE -to
  288. ;ZIP32.EXE -j9g
  289. ;ZIP32.EXE -9g
  290. ;ZIP32.EXE -r9g
  291. ;ZIP32.EXE -mj9g
  292. ;ZIP32.EXE -m9g
  293. ;ZIP32.EXE -d
  294. ;PK\x3\x4
  295. ; ------    ----    ----    ----
  296. ; ------                    -------
  297. ;0
  298. ;-1
  299. ;1
  300. ;2
  301. ;3
  302. ;
  303. ;
  304. ;This entry is for PKZIP 1.01
  305. ;
  306. ;PK(Un)Zip 1.01
  307. ;ZIP
  308. ;0
  309. ;PKZIP.EXE -v
  310. ;PKUNZIP.EXE -o
  311. ;PKUNZIP.EXE -o -d
  312. ;PKUNZIP.EXE -t
  313. ;PKZIP.EXE -a
  314. ;PKZIP.EXE -a -P
  315. ;PKZIP.EXE -a -p -r
  316. ;PKZIP.EXE -m
  317. ;PKZIP.EXE -m -P
  318. ;PKZIP.EXE -d
  319. ;PK\x3\x4\xa
  320. ; ------  ------   ----- -----   ----    ----   ------  ----  ----
  321. ; ------          ------  ---                                 -------
  322. ;0
  323. ;2
  324. ;4
  325. ;2
  326. ;8
  327. ;
  328. ;
  329. ;This entry is for PKZIP 1.01 named PK(Un)Zip2
  330. ;
  331. PK(Un)Zip2 1.01
  332. ZIP
  333. 0
  334. PKZIP2.EXE -v
  335. PKUNZIP2.EXE -o
  336. PKUNZIP2.EXE -o -d
  337. PKUNZIP2.EXE -t
  338. PKZIP2.EXE -a
  339. PKZIP2.EXE -a -P
  340. PKZIP2.EXE -a -p -r
  341. PKZIP2.EXE -m
  342. PKZIP2.EXE -m -P
  343. PKZIP2.EXE -d
  344. PK\x3